home *** CD-ROM | disk | FTP | other *** search
- Path: iz.maus.de!Torsten_Landschoff
- From: Torsten_Landschoff@iz.maus.de (Torsten Landschoff)
- Newsgroups: comp.lang.c++
- Subject: well-chosen overloading
- Message-ID: <199603110001.a35685@iz.maus.de>
- Date: Sun, 10 Mar 96 22:01:00 GMT
- References: <4hibv9$8bu@mcrware.microware.com>
- X-Gate: MausGate/News 1.25/ac3
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
-
- -A41548@AC3
-
- Hi James
-
- JJ>for example, I've always wondered why the stream output operator
- JJ>isn't += (-= for input);
-
- That wasn't possible as the += operator is evaluated from right to left. For
- example cout += 5 += 11; would be the same as count += (5 += 11).
-
- cu
- Torsten
-